package com.warm.pump.module.work.mapper.gen;

import com.warm.pump.module.work.bean.po.gen.WorkDb;
import com.warm.pump.module.work.bean.po.gen.WorkDbExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;

@org.apache.ibatis.annotations.Mapper
public interface WorkDbMapper{
    int countByExample(WorkDbExample example);

    int deleteByExample(WorkDbExample example);
    int deleteByPrimaryKey(@Param("id") Long id);
    int insert(WorkDb record);

    int insertSelective(WorkDb record);

    List<WorkDb> selectByExample(WorkDbExample example);
    WorkDb selectByPrimaryKey(@Param("id") Long id);
    int updateByExampleSelective(@Param("record") WorkDb record, @Param("example") WorkDbExample example);

    int updateByExample(@Param("record") WorkDb record, @Param("example") WorkDbExample example);
    int updateByPrimaryKeySelective(WorkDb record);

    int updateByPrimaryKey(WorkDb record);
}
